// pages/qa/qa.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    images: ['cloud://database-2p2zg.6461-database-2p2zg/project_images/developer.png', 'cloud://database-2p2zg.6461-database-2p2zg/project_images/customer.jpg']
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  previewImage: function (e) {
    var index = e.currentTarget.dataset.index
    wx.previewImage({
      urls: this.data.images,
      current: this.data.images[index]
    })
  }
})